const conn = require('../../libs/DB/Conn');
const operationRecord = require("../sys/operationRecordAction");
module.exports = async function (params) {
    let userIdList = params.userIdList;
    let updateSql = `update user_file SET delete_sign = 2 WHERE user_id in (?)`;
    await conn(updateSql, [userIdList]);
    await operationRecord(params);
    return {success: true, message: '删除成功'};
};